package com.virus.mall.service;

import com.virus.mall.model.Admin;
import com.virus.mall.model.bo.*;

import java.util.List;

/**
 * @Classname AdminService
 * @Description NULL
 * @Date 2021/4/13 14:16
 * @Created by virus
 */
public interface AdminService {

    int login(AdminLoginBo adminLoginBo);

    List<Admin> allAdmins();

    List<Admin> getSearchAdmins(AdminSearchBo researchBo);

    Admin getAdminsInfo(String id);

    boolean deleteAdmins(String id);

    boolean changePwd(AdminChangeBo adminChangeBo);

    boolean addAdminss(AdminAddBo adminAddBo);

    boolean updateAdminss(AdminUpdateBo adminUpdateBo);
}
